package com.rentong.wx.cust.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CustMessageChatLogDto {

    /**
     * 用户聊天内容的id
     */
    @Id
    private Long chatLogId;
    /**
     * 发送人的cust_id
     */
    private Long senderId;
    /**
     * 接收人的cust_id
     */
    private Long receiverId;
    /**
     * 1：已读；2：未读
     */
    private Integer messageState;
    /**
     * 1：文字；2：图片
     */
    private Integer messageType;
    /**
     * 聊天内容
     */
    private String messageContent;
    /**
     * 创建时间
     */
    private Date addTime;

    private Long cId;
}
